package com.aisile.admin;

import com.aisile.model.admin.dtos.SensitiveDto;
import com.aisile.model.admin.pojos.AdSensitive;
import com.aisile.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "敏感词管理",tags = "AdSensitiveControllerApi",description = "敏感词管理Api文档")
public interface AdSensitiveControllerApi {

    @ApiOperation("分页条件查询")
    public ResponseResult findPageAdSensitive(SensitiveDto dto);

    @ApiOperation("添加敏感词")
    public ResponseResult saveAdSensitive(AdSensitive adSensitive);

    @ApiOperation("修改敏感词")
    public ResponseResult upAdSensitive(AdSensitive adSensitive);

    @ApiOperation("删除敏感词")
    public ResponseResult delAdSensitive(Integer id);
}
